﻿using System;
using System.Drawing;

namespace com.szmxsoft.yeming.face
{
	// Token: 0x0200000A RID: 10
	public class FaceResult
	{
		// Token: 0x17000004 RID: 4
		// (get) Token: 0x0600001A RID: 26 RVA: 0x00002673 File Offset: 0x00000873
		// (set) Token: 0x0600001B RID: 27 RVA: 0x0000267B File Offset: 0x0000087B
		public string ID { get; set; }

		// Token: 0x17000005 RID: 5
		// (get) Token: 0x0600001C RID: 28 RVA: 0x00002684 File Offset: 0x00000884
		// (set) Token: 0x0600001D RID: 29 RVA: 0x0000268C File Offset: 0x0000088C
		public float Score { get; set; }

		// Token: 0x17000006 RID: 6
		// (get) Token: 0x0600001E RID: 30 RVA: 0x00002695 File Offset: 0x00000895
		// (set) Token: 0x0600001F RID: 31 RVA: 0x0000269D File Offset: 0x0000089D
		public Rectangle Rectangle { get; set; }

		// Token: 0x17000007 RID: 7
		// (get) Token: 0x06000020 RID: 32 RVA: 0x000026A6 File Offset: 0x000008A6
		// (set) Token: 0x06000021 RID: 33 RVA: 0x000026AE File Offset: 0x000008AE
		public int Age { get; set; }

		// Token: 0x17000008 RID: 8
		// (get) Token: 0x06000022 RID: 34 RVA: 0x000026B7 File Offset: 0x000008B7
		// (set) Token: 0x06000023 RID: 35 RVA: 0x000026BF File Offset: 0x000008BF
		public int Gender { get; set; }

		// Token: 0x06000024 RID: 36 RVA: 0x000026C8 File Offset: 0x000008C8
		public override string ToString()
		{
			string text = "";
			if (!string.IsNullOrEmpty(this.ID))
			{
				text = this.ID + "，";
			}
			text = text + this.Age + "岁";
			if (this.Gender == 0)
			{
				text += "，男";
			}
			else if (this.Gender == 1)
			{
				text += "，女";
			}
			return text + "," + this.Score;
		}
	}
}
